//
//  UIButton+move.h
//  Life assistant
//
//  Created by HYMac on 16/2/26.
//  Copyright © 2016年 HY. All rights reserved.
//

#import <UIKit/UIKit.h>
//typedef enum
//{
//    btnDirectionLeft=0,
//    btnDirectionRight=1,
//}BtnDirection;
typedef  enum
{
    redBtn,
    blueBtn,
    greenBtn,
}btnColor;
@interface UIButton (move)
@property(nonatomic, assign)CGFloat x;
@property(nonatomic, assign)CGFloat y;
@property(nonatomic, assign)CGFloat xV;
@property(nonatomic, assign)CGFloat yV;
@property(nonatomic, assign)CGFloat derectionXY;
@property(nonatomic, assign)btnColor color;
@property(nonatomic, assign)NSInteger btnTag;
@end
